$(function(){
	//fadeintext();
	 setTimeout(fadeintext,3000);
	 ly();
    postAjax();
});

	function fadeintext(){
		$("#say").fadeIn(5000);
	}
	
	function ly(){
		$(document).snowfall({image:"img/1.png", flakeCount:20, minSpeed:1, minSize:8, maxSize:15,});
		$(document).snowfall({image:"img/1.png", flakeCount:20, minSpeed:1, minSize:8, maxSize:15,});
		$(document).snowfall({image:"img/2.png", flakeCount:20, minSpeed:1, minSize:8, maxSize:15,});
		$(document).snowfall({image:"img/4.png", flakeCount:20, minSpeed:1, minSize:8, maxSize:15,});
	}

function postAjax(){

    var data = {};
    data.otherpageName='玫瑰页面';
    data.otherpageSrc='/xllmg.html';
    // $.post("http://119.23.136.181:80/otherpage/addOtherpage",data,{"Content-Type":"application/json"},function(result){
    //
    // });
    $.ajax({
        type: "POST",
        dataType: "json",
        url: "http://zpgs.work/otherpage/addOtherpage",
        data: JSON.stringify(data),
        contentType: "application/json;charset=UTF-8",
        success: function(msg){

        }
    });
}